﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ICommand.cs" company="JDML Consulting Ltd.">
//   Copyright 2011 Photon Project - http://photon.codeplex.com
// </copyright>
// <summary>
//   
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace Photon.Windows.Input.Commands
{
    using System;

    public interface ICommand<in T>
    {
        bool CanExecute(T parameter);

        void Execute(T parameter);

        event EventHandler CanExecuteChanged;
    }
}